Skip to content

If allowedApis is provided respect that always#774

Merged
rhernandez35 merged 1 commit into
mainfrom
adwsingh/fix-aws-bundles-again
Jun 14, 2025
Merged

If allowedApis is provided respect that always#774
rhernandez35 merged 1 commit into
mainfrom
adwsingh/fix-aws-bundles-again

Conversation

@adwsingh

Copy link
Copy Markdown
Contributor

Issue #, if available:

Description of changes:

See #772 (comment)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

if (allowedApis != null) {
// User explicitly specified allowed APIs - use only those
bundleBuilder.exposedOperations(allowedApis);
} else if (readOnlyApis == null || readOnlyApis) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This else should be removed

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just removing the else doesn't work for when allowedApis are provided and readOnlyApis isn't.

@rhernandez35
rhernandez35 force-pushed the adwsingh/fix-aws-bundles-again branch from 56d1634 to 723e144 Compare June 13, 2025 23:46
@rhernandez35
rhernandez35 enabled auto-merge (rebase) June 13, 2025 23:47
@adwsingh
adwsingh disabled auto-merge June 13, 2025 23:55
@adwsingh
adwsingh force-pushed the adwsingh/fix-aws-bundles-again branch 2 times, most recently from b05be7d to 61770a5 Compare June 14, 2025 00:07
@adwsingh
adwsingh force-pushed the adwsingh/fix-aws-bundles-again branch from 61770a5 to 5809b83 Compare June 14, 2025 00:11
@rhernandez35
rhernandez35 merged commit e6acefc into main Jun 14, 2025
2 checks passed
@rhernandez35
rhernandez35 deleted the adwsingh/fix-aws-bundles-again branch June 14, 2025 02:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants